package dao;

import utils.ObjectCache;
import domain.Vocabulary;

public class VocabularyCache extends ObjectCache<Integer, Vocabulary> {
	private static VocabularyCache instance;

	private VocabularyCache() {
		setCacheName("vocabulary_cache_time");
		initObjectCache();
	}

	public static VocabularyCache getInstance() {
		if (instance == null) {
			instance = new VocabularyCache();
		}
		return instance;
	}
}
